package com.yl.applicationsecurity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yl.applicationsecurity.pojo.AlarmRecord;
import com.yl.applicationsecurity.pojo.ApplicationCoverageInternet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;

@Mapper
public interface AlarmRecordMapper  extends BaseMapper<AlarmRecord> {


     Long selectCountByDate(@Param("start") Date start, @Param("end") Date end, @Param("nationSelect") String[] nationSelect);



    Long selectCountByDateAndStatus(@Param("start") Date start, @Param("end") Date end, @Param("status") Integer status, @Param("nationSelect") String[] nationSelect);

}
